<?php

namespace Modules\Advert\Services;

use Modules\Advert\Entities\Advert;

class AdvertService 
{
  public function getAdverts(int $merchant, int $position)
  {
    return Advert::where('merchant_id', $merchant)
      ->where('position_id', $position)
      ->get();
  }
}